Skip to content

ci: add lint and package tarball checks - #15

Merged
Bre77 merged 1 commit into
mainfrom
fm/o10-e101-s7n-nodelib-ci
Aug 5, 2026
Merged

ci: add lint and package tarball checks#15
Bre77 merged 1 commit into
mainfrom
fm/o10-e101-s7n-nodelib-ci

Conversation

@Bre77

@Bre77 Bre77 commented Aug 5, 2026

Copy link
Copy Markdown
Member

What

  • Add ESLint (flat config, typescript-eslint recommended) as pnpm lint, wired into .github/workflows/ci.yml.
    • no-explicit-any is off (ts-proto message types and Fleet API JSON payloads are inherently untyped) and no-unused-vars allows an _-prefixed convention already used across the codebase for intentionally-unused args.
    • Fixed the handful of genuinely-unused imports/vars the new lint step surfaced (src/teslafleetapi.ts, src/vehiclespecific.ts, two test files) - no behavior change.
  • Add publint and npm pack --dry-run as CI steps to catch package.json/exports mistakes and unexpected tarball contents before publish.
  • Existing tsc --noEmit and pnpm test steps are unchanged.

Adds ESLint (typescript-eslint recommended, with any/unused-vars
relaxed for this codebase's existing idioms) and publint + npm pack
--dry-run to catch package.json/exports and tarball content issues,
alongside the existing typecheck and test steps.
@Bre77 Bre77 added the fm Opened by a Firstmate crewmate label Aug 5, 2026
@Bre77
Bre77 merged commit 90e699e into main Aug 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fm Opened by a Firstmate crewmate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant